Run loop are part of the basic infrastructure associated with threads. A Run loop is a event processing loop that you use to schedule work and communicate the incoming events. If there is no work to do thread goes to sleep. Run loop management is not automatic you have to write your own thread code to start the run loop at proper time and response to incoming events.
Cocoa and Core Foundation provides run loop objects to configure and manage thread 's run loop. Application does not need to create run loop objects application main thread and other thread has associated run loop object.The application framework automatically set up and run the run loop on the main thread at startup process.
Liked By
Write Answer
What is run loop in iOS?
Join MindStick Community
You have need login or register for voting of answers or question.
Sunil Singh
10-Jan-2017Run loop are part of the basic infrastructure associated with threads. A Run loop is a event processing loop that you use to schedule work and communicate the incoming events. If there is no work to do thread goes to sleep. Run loop management is not automatic you have to write your own thread code to start the run loop at proper time and response to incoming events.
Cocoa and Core Foundation provides run loop objects to configure and manage thread 's run loop. Application does not need to create run loop objects application main thread and other thread has associated run loop object.The application framework automatically set up and run the run loop on the main thread at startup process.